<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        select{
            width: 100px;
            padding: 6px;
        }
    </style>
</head>
<body>
    <div id="app">
        <p>selectValue:{{selectValue}}</p>
        <select :value="selectValue" @change="selectValue=$event.target.value">
            <option value="">请选择</option>
            <option >法国</option>
            <option>巴西</option>
            <option>意大利</option>
            <option >阿根廷</option>
        </select>
        <hr>
        <select v-model="selectValue">
            <option value="">请选择</option>
            <option >法国</option>
            <option >巴西</option>
            <option>意大利</option>
            <option >阿根廷</option>
        </select>
        
    </div>
    <script type="module">
        import { createApp } from "../assets/vue3/vue.esm-browser.js";
        createApp({
            data() {
                return {
                    selectValue:''
                    
                }
               
                
            }
        }).mount("#app");
    </script>
</body>
</html>